package com.ncloud.resman.service;

import com.ncloud.resman.entity.VirtualNetworkCard;

import java.util.List;

/**
 * Created by shiqiang on 2017/8/28.
 */
public interface VirtualNetworkCardService {
    int insertVirtualNetworkCard(VirtualNetworkCard virtualNetworkCard);
    int updateVirtualNetworkCard(VirtualNetworkCard virtualNetworkCard);
    VirtualNetworkCard getVirtualNetworkCardById(Long cardId);//
    int deleteVirtualNetworkCard(Long cardId);
    int updateVirtualNetworkCardState(Long cardId, String state);
    int deleteVirtualCardByVirtualId(Long virtualId);
    List<VirtualNetworkCard> getVirtualNetworkVirtualId(Long virtualId);

    List<VirtualNetworkCard> getVirtualManageIp(Long virtualId);
}
